package com.gcb.dao;

import com.gcb.pojo.Order;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

/**
 * @Author 35235
 * @Date 2021/8/12 20:19
 * @Version 1.0
 */
public interface OrderDao {
    void add(Order order);
    List<Order> findByCondition(Order order);
    @MapKey("id")
    Map findById4Detail(Integer id);
    Integer findOrderCountByDate(String date);
    Integer findOrderCountAfterDate(String date);
    Integer findVisitsCountByDate(String date);
    Integer findVisitsCountAfterDate(String date);
    @MapKey("")
    List<Map> findHotSetmeal();
}
